Decomposition into linear sums